dotnet publish ./LF.WebCore/LF.WebCore.csproj -c Release -r osx-arm64 -o publish/Mac
mv publish/Mac/LFWebCore publish/Mac/App
find publish/Mac -name "*.pdb" | xargs rm -rf
dotnet publish ./LF.Admin/LF.Admin.csproj -c Release -o publish/Mac
find publish/Mac/wwwroot/_framework -name "*.gz" | xargs rm -rf
find publish/Mac/wwwroot/_framework -name "*.dll" | xargs rm -rf
rm -rf publish/Mac/wwwroot/_framework/dotnet.wasm
rm -rf publish/Mac/web.config